package org.example.myleet.p779;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(0 == solution.kthGrammar(1, 1));
        Assert.isTrue(0 == solution.kthGrammar(2, 1));
        Assert.isTrue(1 == solution.kthGrammar(2, 2));
        Assert.isTrue(0 == solution.kthGrammar(5, 10));
        Assert.isTrue(1 == solution.kthGrammar(5, 12));
    }
}
